#include"freq.h"
#include<stdio.h>
#include"encode.h"

void test_countValueOfFreq(char * filename){

    // CharFreq * frq = (CharFreq*)malloc(sizeof(CharFreq) * NUMLETTER);
    // countFrequency(filename,frq);
    // sortFrequency(frq);
    // printFrequency(frq);
    // free(frq);
}

void test_encode(char * filename){

    encode(filename,"output.txt",1);
}

int main(int argc,char * argv[]){

    test_countValueOfFreq(argv[1]);
    test_encode(argv[1]);
    return EXIT_SUCCESS;
}